<div class="row">
  <div class="col-md-12">
    <div id="content_header">
      <h3>{{ item.Name }} Editing </h3>
    </div>
    <div class="row">
      <div class="col-md-4">
        <form name="Form" role="form" ng-submit="update()">

          <div class="form-group" ng-class="{ 'has-error': errors.Name}">
            <label class="required" for="Name">Name</label>
            <input type="text" name="Name" class="form-control" id="Name" placeholder="Input field" ng-model="item.Name" required>
            <error-widget field="errors.Name"></error-widget>
          </div>

          <div class="form-group" ng-class="{ 'has-error': errors.Nominal}">
            <label class="required" for="Nominal">Nominal Amount (Rp.)</label>
            <input type="text" name="Nominal" class="form-control" id="Nominal" placeholder="Nominal Amount" ng-model="item.Nominal" required>
            <error-widget field="errors.Nominal"></error-widget>
          </div>

          <div class="form-group" ng-class="{ 'has-error': errors.Percentage}">
            <label class="required" for="Percentage">Percentage Amount (%)</label>
            <input type="text" name="Percentage" class="form-control" id="Percentage" placeholder="Percentage Amount" ng-model="item.Percentage" required>
            <error-widget field="errors.Percentage"></error-widget>
          </div>

          <div class="form-group" ng-class="{ 'has-error': errors.ValidDayStart}">
            <label class="required" for="ValidDayStart">Valid Day Start</label>
            <input type="number" name="ValidDayStart" class="form-control" id="ValidDayStart" placeholder="ValidDayStart Amount" ng-model="item.ValidDayStart" required>
            <error-widget field="errors.ValidDayStart"></error-widget>
          </div>

          <div class="form-group" ng-class="{ 'has-error': errors.ValidDayEnd}">
            <label class="required" for="ValidDayEnd">Valid Day End</label>
            <input type="number" name="ValidDayEnd" class="form-control" id="ValidDayEnd" placeholder="ValidDayEnd Amount" ng-model="item.ValidDayEnd" required>
            <error-widget field="errors.ValidDayEnd"></error-widget>
          </div>

          <button type="submit" class="btn btn-primary" >Submit</button>
        </form>
      </div>
    </div>
  </div>
</div>